package cn.pzhu.javaee.mybook.domain;

import java.util.Date;

/*
id	int(11)	No	
type	varchar(32)	No	
catogeryId	int(11)	No	
remark	varchar(255)	No	
amount	int(11)	No	
recordDate	date	No	
userId	int(11)	No	
createTime	datetime	No	

 */
public class Detail {
	private Integer id;
	private String type;
	private Integer catogeryId;
	private String catogeryName;
	private String remark;
	private Integer amount;
	private Date recordDate;
	private Integer userId;
	private Date createTime;
	public Detail() {
		super();
	}
	

	public Detail(String type, Integer catogeryId, String remark,
			Integer amount, Date recordDate, Integer userId, Date createTime) {
		super();
		this.type = type;
		this.catogeryId = catogeryId;
		this.remark = remark;
		this.amount = amount;
		this.recordDate = recordDate;
		this.userId = userId;
		this.createTime = createTime;
	}


	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getCatogeryId() {
		return catogeryId;
	}
	public void setCatogeryId(Integer catogeryId) {
		this.catogeryId = catogeryId;
	}
	
	public String getCatogeryName() {
		return catogeryName;
	}
	public void setCatogeryName(String catogeryName) {
		this.catogeryName = catogeryName;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getAmount() {
		return amount;
	}
	public void setAmount(Integer amount) {
		this.amount = amount;
	}
	public Date getRecordDate() {
		return recordDate;
	}
	public void setRecordDate(Date recordDate) {
		this.recordDate = recordDate;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Override
	public String toString() {
		return "Detail [id=" + id + ", type=" + type + ", catogeryId="
				+ catogeryId + ", remark=" + remark + ", amount=" + amount
				+ ", recordDate=" + recordDate + ", userId=" + userId
				+ ", createTime=" + createTime + "]";
	}
	
	
}
